package net.sk.china.front.service.user;

import com.baomidou.mybatisplus.extension.service.IService;
import net.sk.china.common.model.user.UserSmsRecord;

/**
 * UserSmsRecordService 接口
 * +----------------------------------------------------------------------
 * // | Talk To [ 聊来改善地区金融服务环境，助力企业发展 ]
 * // +----------------------------------------------------------------------
 * // | Copyright (c) 2018-2024 聊来 All rights reserved.
 * // +----------------------------------------------------------------------
 * // | Licensed ( <a href="http://www.apache.org/licenses/LICENSE-2.0">apache</a> )
 * // +----------------------------------------------------------------------
 * // | @Author: 聊来 <18970881148@qq.com>
 * // +----------------------------------------------------------------------
 * // | DateTime: 2024/6/4 15:15
 * // +----------------------------------------------------------------------
 */

public interface UserSmsRecordService extends IService<UserSmsRecord> {

    /**
     * 统计发送条数
     * @param phone 手机号
     * @param time 查询时间
     * @return {@code long}
     */
    long getCount(String phone, String time);
}
